/*
var URL_LOGIN = "http://ebldy.antakya.bel.tr:81/webgis_net/ncwebgisservice.asmx/Login";
var URL_LOGIN2LOCALE = "http://ss-netgis.dyndns-ip.com/webgis_net/ncwebgisservice.asmx/Login";
//var URL_LOGIN2 = "http://ss-netgis.dyndns-ip.com/webgis_net/ncwebgisservice.asmx/Login";
//var URL_RUNXML2 = "http://ss-netgis.dyndns-ip.com/webgis_net/ncwebgisservice.asmx/RunXML";
var URL_LOGIN2 = "http://213.139.195.74/webgis_net/ncwebgisservice.asmx/Login";
var URL_RUNXML2 = "http://213.139.195.74/webgis_net/ncwebgisservice.asmx/RunXML";
var URL_RUNXML = "http://ebldy.antakya.bel.tr:81/webgis_net/ncwebgisservice.asmx/RunXML";
var URL_LOGING = "http://213.139.195.75/webgis_net/ncwebgisservice.asmx/Login";
var URL_RUNXMLG = "http://213.139.195.75/webgis_net/ncwebgisservice.asmx/RunXML";
var URL_LOGIN_TARIM ="http://netcad.tarimreformu.gov.tr/webgis_net/ncwebgisservice.asmx/Login";
*/

var IMAGEFORMAT_BMP = "image/bmp";
var IMAGEFORMAT_JPG = "image/jpg";
var IMAGEFORMAT_PNG = "image/png";

var XSN_NETCAD_GETMAP	= "NETCAD.GETMAP";
var XSN_WEBGIS_TILEDPROJECTINFO = "WEBGIS.TILEDPROJECTINFO";
var XSN_WEBGIS_GETCATEGORIES = "WEBGIS.GETCATEGORIES";
var XSN_NETCAD_NCDDSERVICES = "NCDD.NCDDSERVICES";
var XSN_NETCAD_GETINFOEX = "CONMAN.GETINFOEX"; 
var XSN_NETCAD_GETLOOKUPXML = "NCDD.GETLOOKUPXML";
var XSN_NCDD_PUTINFOEX = "NCDD.PUTINFOEX";
var XSN_NETCAD_NETWORKINFO = "NETCAD.NETWORKINFO";
var XSN_NETWORK_SHORTEST_FIND = "NETWORK.SHORTEST.FIND";


var KEY_WORKSPACE = "WorkSpace";
var KEY_SERVICENAME = "ServiceName";
var KEY_DATAXML = "DataXML";
var KEY_SESSIONID = "SessionID";
var KEY_SERVICEDEPENDENCY = "ServiceDependency"; 

var MAP_MODE_NAV = "nav";
var MAP_MODE_INFO = "info";
var MAP_MODE_INFO_POINT = "point";
var MAP_MODE_INFO_PATH = "path";
var MAP_MODE_INFO_POLYGON = "polygon";
var MAP_MODE_INFO_SHORTEST_PATH = "shortestpath";
var MAP_MODE_INFO_DISTANCE_MEASURE = "distancemeasure";
var MAP_MODE_INFO_AREA_CALCULATE = "areacalculate";

var _NG_SRV_EXT = "ncwebgisservice.asmx";
var _LOGIN_EXT = _NG_SRV_EXT + "/Login";
var _RUNXML_EXT = _NG_SRV_EXT + "/RunXML";
var _ISVALID_EXT = _NG_SRV_EXT + "/isValid";
var _ICONTYPE_EXT = "ncwebgis2.aspx?methodname=geticon&NCICONTYPE=";

NG.constants.GetMap = {
	XML_Getmapex : "getmapex",
	XML_Map : "map",
	XML_Workspace : "WORKSPACE",
	XML_SRS : "SRS",
	XML_BBOX : "BBOX",
	XML_Width : "WIDTH",
	XML_Height : "HEIGHT",
	XML_Format : "FORMAT",
	XML_BGColor : "BGCOLOR",
	XML_Antialias : "ANTIALIAS",
	XML_Params : "params",
	XML_Olcekbar : "OlcekBar",
	XML_Copyright : "COPYRIGHT",
	XML_JPGQuality : "JPG_QUALITY",
	XML_CategoryOFF_Filter : "CategoryOFF_Filter"
};

NG.constants.GetInfoEx = {
		XML_GetInfoEx : "GetInfoEx",
		XML_GetInfoExVersionAttr : "version",
		XML_GetInfoExVersionAttrValue : "2.0",
		XML_GetInfo : "GetInfo",
		XML_SRID : "SRID",
		XML_Proj : "Proj",
		XML_Clockwise : "Clockwise",
		XML_CountOnly : "CountOnly",
		XML_FAD : "FAD",
		XML_Filter : "Filter",
		XML_FilterAttr : "xmlns:gml",
		XML_FilterAttrValue : "http://www.opengis.net/gml",
		XML_And : "And",
		XML_PropertyIsLessThan : "PropertyIsLessThan",
		XML_PropertyIsBetween : "PropertyIsBetween",
		XML_PropertyName : "PropertyName",
		XML_Literal : "Literal",
		XML_LowerBoundary : "LowerBoundary",
		XML_UpperBoundary : "UpperBoundary",
		XML_PropertyIntersects : "Intersects",
		XML_Point : "Point",
		XML_Polygon : "Polygon",
		XML_LineString : "LineString",
		XML_OuterBoundaryIs : "outerBoundaryIs",
		XML_LinearRing : "LinearRing",
		XML_Coordinates : "coordinates",
		XML_Pos : "pos",
		XML_SRSName : "srsName",
		XML_SRSValue : "EPSG:2321",
		XML_PropertyIsLike: {
			nodeName: "PropertyIsLike",
			escapeChar: "!",
			singleChar: "_",
			wildCard: "*" 
		}
	};



NG.constants.GetCategories = {
	XML_getcategories : "getcategories"
};


NG.constants.TiledProjectInfo = {
	XML_tiledProjectInfo : "tiledProjectInfo"
};

NG.constants.NCDDServices = {
	XML_NetcadWebServices : "NETCADWEBSERVICES",
	XML_NCDD : "NCDD",
	XML_NCDDMethod : "METHOD",
	XML_DatasetName: "DATASET_NAME",
	XML_LayoutName : "LAYOUT_NAME",
	NCDDMethod_GetTable : "GETTABLES",
	NCDDMethod_GetXSL : "GETXSL"
};

NG.constants.PutInfoEx = {
	XML_wfs_Insert : "wfs:Insert",
	XML_wfs_Update : "wfs:Update",
	XML_wfs_Delete : "wfs:Delete"
};

NG.constants.GetLookupXml = {
		XML_Params : "Params",
		XML_KeyField : "KeyField",
		XML_ValueField : "ValueField",
		XML_TableName : "TableName",
		XML_ExtraSQL : "extraSQL",
		XML_OrderField : "sOrderField",
		XML_Params_In : "in",
		XML_Params_S : "s"
};


var DEFAULT_MARKER_SIZE = new OpenLayers.Size(32, 39);
var MARKER_BLUE_SIZE = new OpenLayers.Size(64, 64);
var NG_DB_NAME = "NG.DB";
var NG_TILES_TABLE_NAME = "NGTiles";
//var NG_SHORTESTPATH_MARKER_IMAGEURL = "img/marker-blue.png";
var NG_SHORTESTPATH_MARKER_IMAGEURL = "img/pinRed.png";
var gg = new OpenLayers.Projection("EPSG:4326"); //coğrafik
var sm = new OpenLayers.Projection("EPSG:900913"); //metre
var NG_COF_SEPARATOR=",";
var NG_POPUP_WIDTH = 300;
var NG_POPUP_HEIGHT = 100;
var WAIT_TPL='<div class="{cls}"><div style="text-align:center;"><img src="{customImageUrl}"><br/>{message}&hellip;</div></div>';
